.match {
  margin-left: 10px;
  &:not(.collapsed) {
    padding-bottom: 12px;
  }
  &:not(:last-child) {
    border-bottom: 1px solid #eaeaea;
  }
}

.match header {
  align-items: center;
  cursor: pointer;
  display: flex;
  padding: 16px 10px;
  user-select: none;

  .avatar {
    border-radius: 100px;
    height: 34px;
    margin-right: 10px;
    width: 34px;
  }

  .name {
    flex: 1;
    color: #666;
  }

  .count {
    margin-right: 8px;
    border-radius: 4px;
    transform: scale(0.9);
  }

  :global(.anticon) {
    color: #aaa;
    font-size: 14px;
    padding: 4px;
    transition:
      color 0.1s ease-in,
      transform 0.3s ease-out;
    &:hover {
      color: #777;
    }
  }
}
.match.collapsed .collapse {
  transform: rotate(180deg);
}

.record {
  align-items: center;
  border-radius: 6px;
  color: #333;
  cursor: default;
  display: flex;
  font-size: 13px;
  margin-bottom: 1px;
  margin-right: 10px;
  padding: 8px 12px;
  transition: background-color 0.1s ease-out;
  .text {
    flex: 1;
    margin-right: 1em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .date {
    color: #aaa;
    flex-shrink: 0;
    font-size: 12px;
  }
}
.record.focusing {
  background-color: #ececed;
}
.record:hover {
  background-color: #ecf3fd;
}

.highlight {
  color: #2f93f1;
}
